How do I pass a default parameter to a sub-function in a Pythonic way

welcome to shbcf.ru